package com.yuxi.modelDesc;

import lombok.Data;
import com.yuxi.model.AdminPermissionGroup;


import com.yuxi.enums.AdminPermissionGroupShowFlagEnum;
import com.yuxi.enums.AdminPermissionGroupDelFlagEnum;

/**
*    @author sunke
*    @Date 2023-10-13 10:28:17
*    @description AdminPermissionGroupDesc      员工权限组
*/
@Data
public class AdminPermissionGroupDesc extends AdminPermissionGroup {


    private String showFlagDesc;
    private String delFlagDesc;

    public String getShowFlagDesc() {
        showFlagDesc=AdminPermissionGroupShowFlagEnum.getDescByType(getShowFlag());
        return showFlagDesc;
    }
    public String getDelFlagDesc() {
        delFlagDesc=AdminPermissionGroupDelFlagEnum.getDescByType(getDelFlag());
        return delFlagDesc;
    }
}

